home *** CD-ROM | disk | FTP | other *** search
- -- card: 5943 from stack: in.6
- -- bmap block id: 5761
- -- flags: 0000
- -- background id: 2598
- -- name: rnL
- ----- HyperTalk script -----
- on checkend
- --put empty into card field "Tilataan"
- get offset("--More--(",card field 1)
- if it = 0 then
- get offset("%",card field 1)
- if it > 0 then
- hide card button id 19
- hide card button id 5
- else
- show card button id 19
- show card button id 5
- end if
- else
- show card button id 19
- show card button id 5
- end if
-
- end checkend
-
- on opencard
- put empty into card field "Tilataan"
- end opencard
-
-
-
- -- part 2 (field)
- -- low flags: 03
- -- high flags: 6007
- -- rect: left=8 top=71 right=337 bottom=505
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 4
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: Field 1
- ----- HyperTalk script -----
- on mouseUp
- -- 221 (UNSUB) comp.theory.cell-automata! 1-29
- -- 222 (UNSUB) comp.theory.dynamic-sys! 1-26
- get clickLine()
- put it into linenumber
- -- put line it of card field 1
- put space into card field "UserMessage"
- global CommStorage
- global StringGot
- get first word of card field "Node Type" of card "config"
- put it into NodeType
- select line linenumber of card field 1
- put true into OK
- if NodeType is "unix" then
- get offset("!",line linenumber of card field 1)
- if it > 0 then put false into Tilattu
- put it into off1
- get offset(":",line linenumber of card field 1)
- if it > 0 then put true into Tilattu
- if it < off1 then put off1 into it
- if offset("%",line linenumber of card field 1) > 0 then
- put false into OK
- end if
- if it = 0 then
- put false into OK
- else
- get char 1 to it-1 of line linenumber of card field 1
- -- put it
- put it into NameOfLista
- end if
- else
- put "ERROR****** RN EI OLE VMS:SSÄ"
- end if
-
- get offset("#",line linenumber of card field 1)
- if it > 0 then
- put false into OK
- end if
-
- if OK then
- -- put "Lista=" & NameOfLista
- if Tilattu then
- put "rn-peruuta" && NameOflista & return after card field "Tilataan"
- -- put "Lista" && NameOfLista && "peruutetaan."
- end if
- if not Tilattu then
- put "rn-tilaa" && NameOfLista & return after Card field "Tilataan"
- -- put "Lista" && NameOfLista && "tilataan."
- end If
- show card field "Tilataan"
- else
- put "Se ei ole listan nimi." into card field "UserMessage"
- end if
- end mouseUp
-
-
-
-
- -- part 3 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=0 top=330 right=342 bottom=73
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: LineCount
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=87 top=37 right=55 bottom=190
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next page
- ----- HyperTalk script -----
- on mouseUp
- openascii
- writeascii " "
- put space into card field 1
- displayscreen "dis","--more--("
- closeascii
- checkend
- end mouseUp
-
-
-
- -- part 8 (field)
- -- low flags: 00
- -- high flags: 0002
- -- rect: left=183 top=329 right=342 bottom=334
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 3
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: UserMessage
-
-
- -- part 14 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=240 top=210 right=295 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Tilataan
-
-
- -- part 16 (field)
- -- low flags: 01
- -- high flags: 2004
- -- rect: left=322 top=28 right=216 bottom=488
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 4
- -- text size: 9
- -- style flags: 256
- -- line height: 12
- -- part name:
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: A000
- -- rect: left=2 top=25 right=69 bottom=53
- -- title width / last selected line: 0
- -- icon id / first selected line: 14953 / 14953
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Return
- ----- HyperTalk script -----
- on mouseUp
- global Language
- visual effect iris close slow
- openascii
- writeascii "q" & return
- put space into card field 1
- if number of characters of card field "Tilataan" > 3 then
- beep 1
- hide card field 1
- show card field "Tilataan"
- if Language is "english" then
- answer "Subscribe/Signoff lists in the field" with "Yes" or "No"
- else
- answer "Tilataanko/peruutetaanko kentässä olevat listat" with "Kyllä" or "Ei"
- end if
- if it is "Kyllä" or it is "yes" then
- put number of lines of card field "tilataan" into count
- repeat with i=1 to count
- get line i of card field "tilataan"
- writeascii it & return
- wait 100
- end repeat
- end if
- end if
- show card field 1
- displayscreen "dis","% "
- closeascii
- put space into card field "Tilataan"
- go card "News"
- end mouseUp
-
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=87 top=55 right=72 bottom=190
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Previous page
- ----- HyperTalk script -----
- on mouseup
- openascii
- writeascii "b"
- put space into card field 1
- displayscreen "dis","--more--("
- delete line 1 of card field 1
- delete line 1 of card field 1
- delete line 1 of card field 1
- delete line 1 of card field 1
- closeascii
- checkend
- end mouseup
-
-
-
- -- part 20 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=193 top=37 right=56 bottom=320
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Find string
- ----- HyperTalk script -----
- on mouseup
- global muistaHaku
- openascii
- if MuistaHaku is empty then
- put "mac" into MuistaHaku
- end if
- ask "Anna Merkkijono." with MuistaHaku
- put it into MuistaHaku
- set cursor to watch
- writeascii "/" & it & return
- wait 2 sec
- put empty into card field 1
- displayscreen "dis","--more--("
- delete line 1 of card field 1
- delete line 1 of card field 1
- delete line 1 of card field 1
- closeascii
- checkend
- end mouseup
-
-
-
- -- part 21 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=405 top=320 right=342 bottom=480
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Speak Text
- ----- HyperTalk script -----
- on mouseUp
- ReadField1
- end mouseUp
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=337 top=323 right=342 bottom=395
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: PANIC
- ----- HyperTalk script -----
- on mouseup
- PANIC
- end mouseup
-
-
-
- -- part contents for card part 3
- ----- text -----
- Lines 3
-
- -- part contents for card part 8
- ----- text -----
-
-
- -- part contents for card part 16
- ----- text -----
- Osoita listaa, jonka haluat tilata tai peruuttaa.
- Listat, joiden nimessä on ":"-merkki ovat jo tilattuja. Listat, joiden nimessä on "!" ovat tilaamatta.
-
- (Point at list name you want to subscribe.
- List names with ":" you have allready subscribed)
-
- -- part contents for card part 2
- ----- text -----
-
-
- 12:34pm@tukki:~%